package com.example.demo.threadpool;

import lombok.Data;

@Data
public class ThreadPoolConfig{

//    @Value("${data.thread.pool.maxPoolSize}")
    private int maxPoolSize;
//    @Value("${data.thread.pool.minPoolSize}")
    private int minPoolSize;
//    @Value("${data.thread.pool.workQueueSize}")
    private int workQueueSize;


    public ThreadPoolConfig() {

    }

    public ThreadPoolConfig(int maxPoolSize, int minPoolSize, int workQueueSize) {
        this.maxPoolSize = maxPoolSize;
        this.minPoolSize = minPoolSize;
        this.workQueueSize = workQueueSize;
    }


}
